Page({
  data:{
    weeklyMovieList:[
      {
        name:"泰坦尼克号",
        comment:"失去的才是永恒的",
        imagePath: "/images/titanic.jpg",
        isHignlyRecomended : false
      },{
        name:"这个杀手不太冷",
        comment:"小萝莉与怪蜀黍纯真灿烂的爱情故事",
        imagePath: "/images/leon.jpg",
        isHignlyRecomended: false
      },
      {
      name:"教父",
      comment:"最精彩的剧本，最真实的黑帮电影",
      imagePath:"/images/jf.jpg",
      isHignlyRecomended: true
    }],
    currentIndex: 0,
    count: 0
  },
  onLoad: function (options) {
    this.setData({
      currentIndex: this.data.weeklyMovieList.length - 1
    })
  },
  f0: function(event){
    this.setData({
      currentIndex: this.data.weeklyMovieList.length - 1
    })
  },
  onShow :function(){
    
  },
  onHide: function(){

  },
  onReady:function(){

  },
  onUnload:function(){

  }
})